package com.qf.pojo;


import java.util.List;

public class Student {

  private long sid;
  private String sname;
  private List<Teacher> teacher;

  public List<Teacher> getTeacher() {
    return teacher;
  }

  public void setTeacher(List<Teacher> teacher) {
    this.teacher = teacher;
  }

  public long getSid() {
    return sid;
  }

  public void setSid(long sid) {
    this.sid = sid;
  }


  public String getSname() {
    return sname;
  }

  public void setSname(String sname) {
    this.sname = sname;
  }

  @Override
  public String toString() {
    return "Student{" +
            "sid=" + sid +
            ", sname='" + sname + '\'' +
            ", teacher=" + teacher +
            '}';
  }
}
